package commands
{
	import commands.community.FindCommunitiesCmd;
	import commands.core.FindRolesCmd;
	
	import model.Model;
	
	import wizeoo.commands.WIZGroupCommand;
	
	public class InitCmd extends WIZGroupCommand
	{
		/**référence au modèle*/
		private var mod:Model=Model.getInstance();
		
		public function InitCmd(pPile:Array, pSerialize:Boolean=false, pCallback:Function=null)
		{
			super(pPile, pSerialize, pCallback);
		}
		
		override public function wizExecute():void{
			var mA:Array=[
				new FindCommunitiesCmd(),
				new FindRolesCmd()
			];
			commands=mA;
			super.wizExecute();
		}
	}
}